projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55fa782
)
(min, max): New macros.
author
Gerd Moellmann
<gerd@gnu.org>
Mon, 8 Oct 2001 07:59:17 +0000
(07:59 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Mon, 8 Oct 2001 07:59:17 +0000
(07:59 +0000)
src/lisp.h
patch
|
blob
|
history
diff --git
a/src/lisp.h
b/src/lisp.h
index b483e72cef70eb060d76bf54a0ac11620a1b5fd7..5a1b336aaff19d44770e737474cc45f9b472f16e 100644
(file)
--- a/
src/lisp.h
+++ b/
src/lisp.h
@@
-3101,3
+3101,8
@@
extern Lisp_Object Vdirectory_sep_char;
(EQ (hare, tortoise) \
&& (circular_list_error ((list)), 1))) \
: 0)))
+
+/* The ubiquitous min and max macros. */
+
+#define min(a, b) ((a) < (b) ? (a) : (b))
+#define max(a, b) ((a) > (b) ? (a) : (b))